<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
	<title>Remember Me</title>
	<link rel="stylesheet" type="text/css" href="styles/style.css" />
</h:head>


<h:body styleClass="all">
	<f:view contentType="text/html">

		<p:layout
			style="width:1000px;height:880px;position: relative;margin: 0 auto">
			<p:layoutUnit position="center">

				<h:form>
					<h:outputLabel value="Bem-vindo: " style="font-size:10pt" />
					<h:outputLabel value="#{beanPrincipal.usuario.nome}"
						style="font-size:10pt" />

					<div align="right">
						<h:commandLink value="Logout" action="#{beanLogin.logout}"
							immediate="true" style="font-size: 10pt" />
					</div>
				</h:form>

				<h:form>
					<p:menubar id="ttt">
						<p:menuitem id="inicio" value="Início" url="principal.xhtml"></p:menuitem>
						<p:submenu id="mov" label="Movimentações">
							<p:menuitem id="movRec" value="Receita"
								url="movimentacoesReceita.xhtml" />
							<p:menuitem id="movDes" value="Despesa"
								url="movimentacoesDespesa.xhtml" />
						</p:submenu>
						<p:submenu id="metas" label="Metas">
							<p:menuitem id="metasRec" value="Meta Receita"
								url="metaReceita.xhtml" />
							<p:menuitem id="metasDes" value="Meta Despesa"
								url="metaDespesa.xhtml" />
						</p:submenu>
						<p:menuitem id="agenda" value="Agenda" url="agenda.xhtml">
						</p:menuitem>
						<p:menuitem id="analises" value="Análises" url="analises.xhtml" />
						<p:submenu id="confi" label="Configurações">
							<p:menuitem id="categoria" value="Categorias"
								url="categorias.xhtml" />
						</p:submenu>
					</p:menubar>
				</h:form>


				<ui:insert name="center">
				</ui:insert>
			</p:layoutUnit>
		</p:layout>

	</f:view>
</h:body>
</html>
